package com.story.modular.app.dao;

import com.story.common.persistence.model.IndexPicture;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author Administrator
 * @decription
 * @Date 2017-12-28 14:03
 */
public interface IndexPictureDao {

    List<Map<String,Object>> indexList();

    int countIndexByAge(@Param("ageType") Integer ageType);

    int insert(@Param("indexPicture")IndexPicture indexPicture);

}
